﻿@model Free2AskWeb.Models.PostModel

@section subnav{"Questions"}

@section Styles {
    <link href="@Url.Content("~/Content/Ask.css")" rel="stylesheet" type="text/css" />
    <link  href="@Url.Content("http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css")"  rel="stylesheet" type="text/css"/>
}

@section JavaScript{
    <script type="text/javascript" src="../Content/tinymce/tinymce.min.js"></script>

    <script type="text/javascript">
        tinyMCE.init({
            mode: "textareas",
            encoding: "xml"
        });
    </script>

    <script type="text/javascript" src="@Url.Content("/Scripts/Ask.js")"></script>
}
    
    @using (Html.BeginForm()) {
       @Html.Partial("_QuestionEditorPartial",Model)
       <p>
           <input type="submit" value="Create" class="creat" />
       </p>
    }
    
    <div>
        @Html.ActionLink("Back to List", "Index")
    </div>

